JavaScript
tbiObj.getCurrentPaneIndex Method
Syntax
var paneIndex = tbiObj.getCurrentPaneIndex();
Returns
- paneIndexnumber
Returns the current pane's index.
Description
Gets the current TabbedUI pane index.
Discussion
The tbiObj.getCurrentPaneIndex() method gets the index for the current pane Tabbed UI pane. Panes in a tabbed ui are zero-based index. This means the first pane has an index of 0, the second and index of 1, and so on.
var currentIndex = tbiObj.getCurrentPaneIndex(); alert("The current pane index is " + currentIndex);